<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
    <title><sitemesh:write property='title'/></title>
    <link type="text/css" rel="stylesheet" href="/public/css/main.css">
    <link type="text/css" rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="/public/css/font-awesome.min.css">
    <script src="/static/jquery-2.1.0.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <script src="/static/bootstrap/js/bootstrap-paginator.js"></script>
    <%--<script src="http://cdn.bootcss.com/vue/1.0.12/vue.min.js"></script>--%>
    <script src="/static/vue-2.1.10.js"></script>
    <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
    <script>
        $(function () {
            $("#icpYear").html(new Date().getFullYear());
        })
    </script>
    <sitemesh:write property='head'/>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">仙飞</a>
        </div>
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <li class="dropdown">
                    <a href="#">用户管理<b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="/back/user/form">普通用户</a></li>
                        <li><a href="/admin/manager">管理员</a></li>
                        <li><a href="/role/list">角色管理</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#">基地管理<b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="/house/houseBase/list/1">基地基本信息</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#">户型管理<b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="/houseType/list">户型列表</a></li>

                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#">度假屋管理<b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="/house/equipment/list">设施管理</a></li>
                        <li><a href="/house/supporting/list">配套管理</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#">订单管理<b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="/reserve/back/list">入住订单管理</a></li>
                        <li><a href="/order/reFundList">用户退款管理</a></li>
                    </ul>
                </li>
            </ul>
            <security:authorize access="isAuthenticated()">
                <span class="authName">
                    <security:authentication property="principal.username" scope="session"/>&nbsp;
                    <a href="/admin/logout">退出</a>
                </span>
            </security:authorize>
        </div>
    </div>
</nav>

<div class="container backend">
    <sitemesh:write property='body'/>
</div>

<div style="text-align:center;height: 25px;width: 100%;">
    <div style="">&copy;2014-<span id="icpYear"></span> www.xf-style.cn 版权所有 ICP证：蜀17028118</div>
    <img style="width: 20px;" src="//img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png">
    <span><a target="_blank" href="http://www.miitbeian.gov.cn/">蜀ICP备 17028118号</a></span>
</div>
<sitemesh:write property='myScript'/>
</body>
</html>